# -*- coding: utf-8 -*-

from flask.ext.login import login_user, current_user, login_required, logout_user
from flask import render_template, redirect, url_for, request, flash

## error_reply
def error_reply():
	return "悟空，你又调皮了..."

## 检测是否登录，然后跳转
def before_auth():
	if current_user.is_authenticated:
		return True
	return False


